﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Text
{
    class Program
    {
        static void Main(string[] args)
        {
            Work work = new Work();
            int refSum = 1;
            int rv1 = 2;
            int rv2 = 3;
            work.AddRef(ref refSum,rv1,rv2);
            Console.WriteLine("refSum:" + refSum + "  v1:" + rv1 + "  v2:" + rv2);

            int outSum;
            int ov1 = 2;
            int ov2 = 3;
            work.AddOut(out outSum,ov1,ov2);
            Console.WriteLine("outSum:" + outSum + "  v1:" + ov1 + "  v2:" + ov2);

            Console.ReadKey();
        }
    }
}
